package com.example.demo.service.impl;

import com.example.demo.mapper.ApiTestCaseResultMapper;
import com.example.demo.entity.ApiTestCaseResult;
import com.example.demo.service.ApiTestCaseResultService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ApiTestCaseResultServiceImpl implements ApiTestCaseResultService {

    @Resource
    ApiTestCaseResultMapper apiTestCaseResultMapper;

    @Override
    public int insertResult(ApiTestCaseResult apiTestCaseResult) {
        int row = apiTestCaseResultMapper.insertResult(apiTestCaseResult);
        return row;
    }
}
